package com.cmc.cloud.cmclink.doc.vo.voyagebsavo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 周贤
 * @date 2025/5/29
 */
@Schema(description = "管理后台 - bsa （base space Allocation） 从模板获取数据 参数")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class VoyageTemplateReqVO {
    @Schema(description = "bsa模板id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "{VoyageTemplateReqVO.templateId.NotNull}")
      private Long templateId;

      @Schema(description = "航线编码列表", requiredMode = Schema.RequiredMode.REQUIRED)
      @NotEmpty(message = "{VoyageTemplateReqVO.voyages.NotEmpty}")
      private List<String> voyages;
}
